<div class="layui-card">
    <div class="layui-card-header">欢迎回来，{$userInfo['nickname']}</div>
    <div class="layui-card-body">
        当前时间：<?php echo date('Y-m-d H:i:s');?><br>
    </div>
</div>